import { apiConfig, customApiConfig } from "@/config/apiConfig";
import { service, customService } from "@/config/request";

/**
 * 用户相关接口
 */
const user = {
  /**
   * 获取用户信息
   * @param {object} data 
   * @param {string} data.token 用户token
   * @returns 
   */
  getUserInfo: (data) => service.post(apiConfig.user.getUserInfo, data),

};

export default user;


